package shop.services.common;

import java.io.Serializable;
import java.math.BigDecimal;

public class Spec extends Product implements Serializable {
    private String id;

    private String productID;

    private String specType;

    private String specName;

    private String specStatus;
    private String specCombination;
    private BigDecimal specPrice;
    private BigDecimal specPurchasePrice;
    private Integer specStock;
    private BigDecimal specNowPrice;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProductID() {
        return productID;
    }

    public void setProductID(String productID) {
        this.productID = productID == null ? null : productID.trim();
    }

    public String getSpecType() {
        return specType;
    }

    public void setSpecType(String specType) {
        this.specType = specType == null ? null : specType.trim();
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName == null ? null : specName.trim();
    }

    public String getSpecStatus() {
        return specStatus;
    }

    public void setSpecStatus(String specStatus) {
        this.specStatus = specStatus == null ? null : specStatus.trim();
    }

    public String getSpecCombination() {
        return specCombination;
    }

    public void setSpecCombination(String specCombination) {
        this.specCombination = specCombination;
    }

    public BigDecimal getSpecPrice() {
        return specPrice;
    }

    public void setSpecPrice(BigDecimal specPrice) {
        this.specPrice = specPrice;
    }

    public BigDecimal getSpecPurchasePrice() {
        return specPurchasePrice;
    }

    public void setSpecPurchasePrice(BigDecimal specPurchasePrice) {
        this.specPurchasePrice = specPurchasePrice;
    }

    public Integer getSpecStock() {
        return specStock;
    }

    public void setSpecStock(Integer specStock) {
        this.specStock = specStock;
    }

    public BigDecimal getSpecNowPrice() {
        return specNowPrice;
    }

    public void setSpecNowPrice(BigDecimal specNowPrice) {
        this.specNowPrice = specNowPrice;
    }
}